<template>
    <a-layout-sider width="200" style="background: #fff">
        <a-menu
                v-model:selectedKeys="selectedKeys2"
                v-model:openKeys="openKeys"
                mode="inline"
                style="height: 100%"
        >
            <a-sub-menu key="sub1">
                <template #title>
                <span>
                  <user-outlined />
                  商家管理
                </span>
                </template>
                <a-menu-item key="1">option1</a-menu-item>
                <a-menu-item key="2">option2</a-menu-item>
                <a-menu-item key="3">option3</a-menu-item>
                <a-menu-item key="4">option4</a-menu-item>
            </a-sub-menu>
            <a-sub-menu key="sub2">
                <template #title>
                <span>
                  <laptop-outlined />
                  商品管理
                </span>
                </template>
                <a-menu-item key="/admin/Brand">
                    <router-link to="/admin/Brand">品牌管理</router-link>
                </a-menu-item>
                <a-menu-item key="/admin/SpecificationList">
                    <router-link to="/admin/SpecificationList">规格管理</router-link>
                </a-menu-item>
                <a-menu-item key="7">模块管理</a-menu-item>
                <a-menu-item key="8">分类管理</a-menu-item>
                <a-menu-item key="9">商品审核</a-menu-item>
            </a-sub-menu>
            <a-sub-menu key="sub3">
                <template #title>
                <span>
                  <notification-outlined />
                  广告管理
                </span>
                </template>
                <a-menu-item key="10">option9</a-menu-item>
                <a-menu-item key="11">option10</a-menu-item>
                <a-menu-item key="12">option11</a-menu-item>
                <a-menu-item key="13">option12</a-menu-item>
            </a-sub-menu>
        </a-menu>
    </a-layout-sider>
</template>

<script lang="ts">
    import {defineComponent} from "vue";

    export default defineComponent( {
        name: "the-left"
    })
</script>

<style scoped>

</style>